<%--
  Created by IntelliJ IDEA.
  User: lkx18775339631
  Date: 2022/3/17
  Time: 14:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <script type="text/javascript">
        $(function (){
            $("a.logout").click(function (){
               return confirm("您确定要注销吗？");
            });
        })
    </script>

    <div>
        <span>欢迎<span class="um_span">${sessionScope.user.username}</span>光临City网上书城</span>
        <a href="orderServlet?action=showMyOrders">我的订单</a>
        <a class="logout" href="userServlet?action=logout">注销</a>
        <a href="index.jsp">返回商城</a>
    </div>
